/**
 * 
 */
package com.fuershiye.woman.monitor.annotations;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author Administrator
 *
 */
@Retention(RetentionPolicy.RUNTIME)
public @interface QueryField {
    public static final int QUERY_EXP_EQ = 0;
    public static final int QUERY_EXP_NE = 20;
    public static final int QUERY_EXP_ALLEQ = 1;
    public static final int QUERY_EXP_LIKE = 2;
    public static final int QUERY_EXP_LIKE_ANYWHERE = 21;
    public static final int QUERY_EXP_LIKE_END = 22;
    public static final int QUERY_EXP_LIKE_START = 23;
    
    public static final int QUERY_EXP_GT = 3;
    public static final int QUERY_EXP_GE = 4;
    public static final int QUERY_EXP_LT = 5;
    public static final int QUERY_EXP_LE = 6;
    public static final int QUERY_EXP_BETWEEN = 7;
    public static final int QUERY_EXP_IN = 8;
    public static final int QUERY_EXP_SQL = 9;
    public static final int NOTANALYERA = 101;
    public static final int LUCENE_SHOULD=102;
    public static final int LUCENE_MUST=103;
    public static final int BOOST = 104;
    public float boost() default 1.0f;
    public String name();
    public int exp() default QUERY_EXP_EQ;
    public int LuceneOccur() default LUCENE_MUST;
    public String or() default "";
}
